﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DataService.Core.Security
{
    public static class SecurityHelper
    {
        /// <summary>Crc16散列</summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public static UInt16 Crc16(this Byte[] data) => new Crc16().Update(data).Value;
    }
}
